home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: news2.new-york.net!not-for-mail
- From: Daniel Oppenheimer <daniel@yoga.com>
- Subject: Re: Java Compiler
- Content-Type: text/plain; charset=us-ascii
- X-Nntp-Posting-User: (Unauthenticated)
- Content-Transfer-Encoding: 7bit
- Message-ID: <30FE3EDA.1AA3@yoga.com>
- References: <30FD6D58.B3B@gate.net>
- X-Mailer: Mozilla 2.0b5 (WinNT; I)
- Mime-Version: 1.0
- X-Nntp-Posting-Host: 140.186.69.3
- Date: Thu, 18 Jan 1996 12:36:42 GMT
-
- Hal Cline wrote:
- >
- > Hello,
- >
- > I am trying to compile some java script but am having a problem with
- > javac.
- >
- > The steps I take are:
- >
- > 1)I launch DOS from Win95
- > 2)go the javac.exe in the subdirectory- e:\Java\hotjava\bin
- > 3)launch javac.exe
- > 4)I am getting the following message:
- > use: javac [-g] [-0] [-debug] [-depend] [-nowarn] [-verbose] [-classpath
- > path] [-nowrite] [-d dir] file.java...
- >
- > Does this make any sense to anyone?
- >
- > Please advise and email me at winfield@gate.net
- >
- > Sincerely,
- >
- > Hal Cline
-
- Hal
-
- When you call javac you must call it with the file containing
- your source code as an argument. The syntax is javac
- filename.java. Things like [-g] are compiler switches. These
- are documented at http://java.sun.com.
-
- Dan
-